package cn.itsource.hrm.service;

import cn.itsource.hrm.domain.Course;
import cn.itsource.hrm.es.doc.EsCourse;
import cn.itsource.hrm.query.CourseQuery;
import cn.itsource.hrm.util.PageList;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yhptest
 * @since 2020-06-26
 */
public interface ICourseService extends IService<Course> {

    void onlineOrOffLine(List<Long> ids, int flag);

    PageList<EsCourse> queryCourseEs(CourseQuery query);
}
